package cn.jsj.cxsys.service;

import java.util.*;
import cn.jsj.cxsys.pojo.*;

public interface ComputerService
{
    List<Computer> getComputersOfLab(final User user, final int labID, final int pageNum, final int pageSize);

    List<Computer> getAllComputer(final String superAccount, final String password, final int pageNum, final int pageSize);

    String addOneComputer(final User user, final Computer computer);

    String addComputersInLab(final User user, final int labID, final int computerNumber);

    String removeOneComputer(final User user, final Computer computer);

    String setBreakOfComputer(final User user, final int computerID, final String breakInf);

    String setWellOfComputer(final User user, final int computerID);

    String signInComputer(final User user, final int computerID);

    String signOutComputer(final User user, final int computerID, final String str);

    int getNumberOfComputer();
}
